package com.cos.edoc.services.impl;

import com.cos.edoc.dao.EdocCategoryMapper;
import com.cos.edoc.entity.EdocCategory;
import com.cos.edoc.services.EdocCategoryServices;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author: COS
 * @time: 2022/3/14 15:11
 * @description:
 */
@Service
public class EdocCategoryServicesImpl implements EdocCategoryServices {
    @Autowired
    private EdocCategoryMapper categoryMapper;

    @Override
    public List<EdocCategory> getAll() {
        return categoryMapper.getAll();
    }
}
